﻿#include "basemessage.h"

BaseMessage::BaseMessage(QWidget *parent)
    : QTextEdit(parent)
    , increase(0)
{
    this->setStyleSheet(R"(
        QTextEdit{
            background-color:white;
            border-radius:5px;
            border:1px solid lightgray;
        }
        QTextEdit:hover{
            background-color:rgb(235, 235, 235);
        }
    )");
}
void BaseMessage::setIncreaseHight(int h){
    increase=h;
}
